package com.hospital.dao;

import com.hospital.entity.Department;
import com.hospital.entity.Job;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JobDao {

    int add(Job job);

    int delete(Integer id);

    int update(Job job);

    long count(String name);

    List<Job> select();

    List<Job> selectPage(@Param("job_name") String job_name, @Param("start") int start, @Param("size") int size);




}
